package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.SysRolep;

import java.util.List;

public interface SysRolepMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(SysRolep record);

    int insertSelective(SysRolep record);

    SysRolep selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(SysRolep record);

    int updateByPrimaryKey(SysRolep record);

    List<SysRolep> selectAll();

    List<SysRolep> selectByRoleIid(int role_iid);
    List<SysRolep> getAllPermissions();
}